<?php
// This is the configuration for yiic console application.
// Any writable CConsoleApplication properties can be configured here.
return CMap::mergeArray(
				CMap::mergeArray(require(dirname(__FILE__) . '/main.php'), array(
					'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR . '..',
					// components
					'components' => array(
						'db' => array(
							'enableProfiling' => false,
							'enableParamLogging' => false,
						),
						'log' => array(
							'routes' => array(
								array(
									'class' => 'ConsoleLogRoute',
									'categories' => 'application',
									'levels' => 'info, warning, error',
								),
							),
						),
					),
					// command Map
					'commandMap' => array(
						'migrate' => array(
							'class' => 'system.cli.commands.MigrateCommand',
							'migrationTable' => 'yii_migration',
						),
					),
				)), require(dirname(__FILE__) . '/custom.php'));
